package com.kate.mall.snm;

import com.baomidou.mybatisplus.autoconfigure.IdentifierGeneratorAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, IdentifierGeneratorAutoConfiguration.class})
@EnableDiscoveryClient
@ServletComponentScan(basePackages = {"com.kate.mall.common"})
@ComponentScan(basePackages = {"com.kate.mall.snm","com.kate.mall.common"})
@EnableAsync
public class MicroMallSnmApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroMallSnmApplication.class, args);
    }

}
